Skip to content

ValidateDomainAndFieldNamesAction to use domainKind generateDomainURI() when applicable#6889

Merged
cnathe merged 3 commits intodevelopfrom
fb_testDataGenValidateURI
Jul 31, 2025
Merged

ValidateDomainAndFieldNamesAction to use domainKind generateDomainURI() when applicable#6889
cnathe merged 3 commits intodevelopfrom
fb_testDataGenValidateURI

Conversation

@cnathe
Copy link
Copy Markdown
Contributor

@cnathe cnathe commented Jul 30, 2025

Rationale

We've seem some intermittent test failures on TC (StudyDatasetsTest.testDatasetRoundTripWithSpecialChars and others) since the increase of the random field name length. This is because we generate field names that are now closer to the 200 char limit but those are then used in the domain PropertyURI with a domainKind specific prefix which can fail if that string is longer than 300 chars. This PR changes the validation API to try using the DomainKind generateDomainURI() where applicable and then defaulting to a longer fake URI for other domain kinds.

Related Pull Requests

Changes

  • ValidateDomainAndFieldNamesAction to use domainKind generateDomainURI() when applicable

@cnathe cnathe merged commit 1853b88 into develop Jul 31, 2025
10 of 11 checks passed
@cnathe cnathe deleted the fb_testDataGenValidateURI branch July 31, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants